<?php

/**
 * @package		Joomla.Site
 * @subpackage	mod_wrapper
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */
// no direct access
defined('_JEXEC') or die;

// Include the syndicate functions only once
require_once dirname(__FILE__) . '/helper.php';
$chinhanh1 = htmlspecialchars($params->get('chinhanh1'));
$yahoo1 = htmlspecialchars($params->get('yahoo1'));
$yahoo1Check = modPSupportHelper::checkYahooStatus($yahoo1);
$skype1 = htmlspecialchars($params->get('skype1'));
$skype1Status = modPSupportHelper::checkSkypeStatus($skype1);

$chinhanh2 = htmlspecialchars($params->get('chinhanh2'));
$yahoo2 = htmlspecialchars($params->get('yahoo2'));
$yahoo2Check = modPSupportHelper::checkYahooStatus($yahoo2);
$skype2 = htmlspecialchars($params->get('skype2'));
$skype2Status = modPSupportHelper::checkSkypeStatus($skype2);
//$yahoo1 = htmlspecialchars($params->get('yahoo1'));
require JModuleHelper::getLayoutPath('mod_psupport', $params->get('layout', 'default'));
